package weixinkeji.dev.h.login;

import sys.wx.c.ATR;
import sys.wx.ann.hm.H;
import sys.wx.ann.hm.M;
import sys.wx.xy.XY;
import weixinkeji.dev.dc.buy.order.xy.FWYOrderXY;

/**
 *
 * @author IK
 */
@H("user/fwy")
public class FWYLoginOut {

    @M(value = "/out", take = ATR.NO_TAKE)//user/fwy/out.imy
    public static String a1(ATR a) {
        if (null != a.session.getAttribute(XY.SESSION_LOGIN)) {
            a.session.removeAttribute(XY.SESSION_LOGIN);
        }
        if (null != a.session.getAttribute(XY.LOGIN_POWER)) {
            a.session.removeAttribute(XY.LOGIN_POWER);
        }
         if(null!=a.session.getAttribute(FWYOrderXY.H_MYSELECT_ORDER)){
           a.session.removeAttribute(FWYOrderXY.H_MYSELECT_ORDER);
         }
        return "/index.jsp";
    }
}
